STEP 7: Your final grade will be determined by your test average. Let's make a function to calculate it!
- Go to . Drag Define Function with Parameter below and outside print_grades().
- Rename the function to print_average() and change the parameter to list_of_grades.
- Drag in Docstring . Edit it to """ Calculates and prints average grade to console """.
- Drag Function Call with Parameter into the bottom of main. Change it to print_average(grades).
To navigate the page using the TAB key, first press ESC to exit the code editor.